package com.daqian.cloud.oauth2.constant;

/**
 * 常量
 *
 * @author: daqian
 * @date: 2019/6/20 17:34
 */
public class OAuth2Constant {

    /**
     * 资源id
     */
    public static final String RESOURCE_ID = "chance_cloud_oauth2_server_resource";

    /**
     * 资源令牌验证过期时间(s)
     */
    public static final int ACCESS_TOKEN_VALIDITY_SECONDS = 7200;

    /**
     * 资源令牌刷新过期时间(s)
     */
    public static final int REFRESH_TOKEN_VALIDITY_SECONDS = 600;

}
